<ion-view view-title="帮客手机">
	<ion-content>
		<div class="has-header">
			<div class="mpf">
				<div class="list mpfd column">
					<div class="item">
						<div class="row">
							<div class="col-75">
								<div class="item item-avatar">
									<img ng-src="{{fileurl + member.gragh}}"
										style="top: 0px;margin-left:-10px;max-width: 70px;max-height: 70px;margin-top: 0px;">
									<h2 style="margin: 10px auto auto 86px;">{{indexinit.membername}}</h2>
									<div style="margin: .1rem auto auto 86px; height:22px;">
										<span ng-if="'2' == indexinit.isidmobdcheck" style="display: inline-block; width:20px; height:20px; 
											background-repeat: no-repeat; background-size: 100%;margin-right:.1rem;
											background-image: url(img/app/member/mpf/sfrz.png);"></span>
										<span  ng-if="'01' == indexinit.memberlevel" style="display: inline-block; width:20px; 
											height:20px; background-repeat: no-repeat; background-size: 100%; 
											background-image: url(img/app/member/mpf/pt.png);"></span>
										<span  ng-if="'02' == indexinit.memberlevel" style="display: inline-block; width:20px; 
											height:20px; background-repeat: no-repeat; background-size: 100%; 
											background-image: url(img/app/member/mpf/dj.png);"></span>
										<span  ng-if="'03' == indexinit.memberlevel" style="display: inline-block; width:20px; 
											height:20px; background-repeat: no-repeat; background-size: 100%; 
											background-image: url(img/app/member/mpf/shop.png);"></span>
										<a href="" ng-click="" ng-if="!quitflag" 
											style="display: inline-block; width:20px; 
												height:20px; background-repeat: no-repeat; background-size: 100%; 
												background-image: url(img/app/member/mpf/tui.png);">
										</a>
										<a href="" ng-click="quit()" ng-if="quitflag" 
											style="display: inline-block; width:20px; 
												height:20px; background-repeat: no-repeat; background-size: 100%; 
												background-image: url(img/app/member/mpf/tui1.png);">
										</a>
									</div>
									<div style="margin: 0px auto auto 86px;color: #ccc; font-size: .13rem;">激活日期 {{indexinit.applydate}}</div>
								</div>
							</div>
							<div class="col-25">
								<div style="float: right; margin-top: 4px;text-align: right; margin-right: .2rem;">
									<img class="aicon" ng-src="{{indexinit.referenceimg}}"  
										style="width: 50px; margin-bottom: 0.1rem; height: 50px; border: none;border-radius: 25px;">
									<h2 class="aicontext" style="font-size: .12rem !important; text-align: center;">{{indexinit.referencename}}</h2>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="list mpfd column">
					<div class="item">
						<div class="row">
							<div class="col">
								<div class="item item-avatar">
									<img src="img/app/member/mpf/jf.png" 
										style="top:10px;margin-left:0px;max-width: 50px;max-height: 50px;margin-top: 0px;">
									<h2 style="margin: 20px auto auto 86px;">云联惠积分</h2>
									<div style="margin: 0px auto auto 86px;color: #ccc; font-size: .13rem;">{{indexinit.ylhaccount}}</div>
								</div>
							</div>
							<div class="col">
								<div class="ylhaccount">
									<div class="">{{indexinit.ylhintegral}}</div>
									<span class="account">{{'1' == indexinit.returnstatus ? "已赠送" : "未赠送"}}</span>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="list mpfd column">
					<div class="item">
						<div class="row">
							<div class="col">
								<div style="margin: .07rem auto; color: #444; text-decoration: none; 
									text-align: center; font-size: 16px; line-height: 42px;">
									<div class="aicon" style="background-image: url(img/app/member/mob/mob.png);
										background-position: 0px 0px;"></div>
									<h2 class="aicontext">我的购机款</h2>
									<span class="account">{{buyinfo.mobparagraph}}元</span>
								</div>
							</div>
							<div class="col">
								<a href="" class="button button-icon gragh" ng-click="toapply()">
									<div class="aicon" style="background-image: url(img/app/member/mob/mob.png);
										background-position: 0px -31px;"></div>
									<h2 class="aicontext">可支付</h2>
									<span class="account">{{buyinfo.cashwithdrawal}}元</span>
								</a>
							</div>
							<div class="col">
								<a class="button button-icon gragh" ng-click="showtranseout()">
									<div class="aicon" style="background-image: url(img/app/member/mob/mob.png);
										background-position: 0px -59px;"></div>
									<h2 class="aicontext">支付记录</h2>
									<span class="account">{{buyinfo.alreadwithdrawal}}元</span>
								</a>
							</div>
						</div>
					</div>
				</div>
				<div class="list mpfd column cuchengren">
					<div class="item title">
						<div>我的促成人</div>
					</div>
					<div class="item">
						<div class="row thtitle">
							<div class="col" style="flex: .2;"></div>
							<div class="col" style="flex: 1.6;">名称</div>
							<div class="col" style="flex: .6;">金额</div>
							<div class="col" style="flex: 1.6;">直接促成人</div>
							<div class="col">状态</div>
							<div class="col">倒计时</div>
						</div>
					</div>
					<div class="item table">
						<div class="row" ng-repeat="item in facilitate">
							<div class="col" ng-bind="$index+1" style="flex: .2;"></div>
							<div class="col" ng-bind="item.membername" style="flex: 1.6;"></div>
							<div class="col" ng-bind="item.bonus" style="flex: .6;"></div>
							<div class="col" ng-bind="item.subjectionname" style="flex: 1.6;"></div>
							<div class="col" >{{item.cashstatus | mobcashstatus}}</div>
							<div class="col" style="text-align: center;" ng-bind="item.countdown < 0 ? '-' : item.countdown + '天'"></div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</ion-content>
</ion-view>